package demo;
//枚举
public class Day23002 {
    public static void main(String[] args) {
        PrintDay printDay=new PrintDay();
        printDay.printDay(1);
    }
}
enum WeekDay{
    SUNDAY,MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY,SATURDAY
}
class PrintDay{
    void printDay(Integer i){
        switch (i){
            case 1:
                System.out.println(WeekDay.SUNDAY);
                break;
            case 2:
                System.out.println(WeekDay.MONDAY);
                break;
            case 3:
                System.out.println(WeekDay.TUESDAY);
                break;
            case 4:
                System.out.println(WeekDay.WEDNESDAY);
                break;
            case 5:
                System.out.println(WeekDay.THURSDAY);
                break;
            case 6:
                System.out.println(WeekDay.FRIDAY);
                break;
            case 7:
                System.out.println(WeekDay.SATURDAY);
                break;
            default:
                System.out.println("no");
        }
    }
}